package com.retoc.oawx.service;

import com.retoc.oawx.domain.Leave;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author retoc
* @description 针对表【tb_leave】的数据库操作Service
* @createDate 2022-06-12 11:10:24
*/
public interface LeaveService extends IService<Leave> {

    public void insertLeave(Leave leave);


    public ArrayList<HashMap> selectLeaveListByCreator(HashMap param);

    public ArrayList<HashMap> selectoldLeaveListByCreator(HashMap param);

    public HashMap selectLeaveById(int id);

    public void setStatus(HashMap map);

    public Leave searchLeaveByInstanceId(String instanceId);

    public int deleteByid(Integer id);
}
